package com.baidu.constant;

public class ConstDemo1 {
    public static void main(String[] args) {
        //1.整数
        System.out.println(666);
        System.out.println(-999);
        System.out.println("---------------------");
        //2.小数
        System.out.println(14.6);
        System.out.println(-3.88);
        System.out.println("---------------------");
        //3.字符
        System.out.println('1');
        System.out.println('a');
        System.out.println('好');
        System.out.println("---------------------");
        //4.字符串
        System.out.println("好风凭借力，送我上青云");
        System.out.println("123456789");
        System.out.println("asdfghjkl");
        System.out.println("---------------------");
        //布尔
        System.out.println(true);
        System.out.println(false);
        System.out.println("---------------------");
        //制表符换行
        System.out.println("好风\t凭借力，\n 送我\t上青云");
    }
}
